package com.semanticweb.webapp.service;

import java.util.Collection;

import com.semanticweb.webapp.model.ontology.Item;

/**
 * Service used for working with ontology layer.
 * 
 * @author Srdjan Radulovic
 */
public interface OntologyService {

    Collection<Item> findItems(String query);

    String findItemsBySparquelQuery(String query);

    /**
     * 
     * @param id
     *            - inventary number
     * @return
     */
    Item getItemByID(String id);

    Collection<Item> getAllItems();

    void createItem(Item item);

}
